projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5843fef
)
(property_change_between_p): Test NULL_INTERVAL_P
author
Richard M. Stallman
<rms@gnu.org>
Sat, 14 Aug 1993 04:36:08 +0000
(
04:36
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 14 Aug 1993 04:36:08 +0000
(
04:36
+0000)
in loop, before looking at next->position.
src/textprop.c
patch
|
blob
|
history
diff --git
a/src/textprop.c
b/src/textprop.c
index b324217907e766b0b2cb70c3f9bf8a47096e556a..50810e62dfc9898eca0e3d160564d789eb414d53 100644
(file)
--- a/
src/textprop.c
+++ b/
src/textprop.c
@@
-568,6
+568,8
@@
property_change_between_p (beg, end)
while (! NULL_INTERVAL_P (next) && intervals_equal (i, next))
{
next = next_interval (next);
+ if (NULL_INTERVAL_P (next))
+ return 0;
if (next->position >= end)
return 0;
}